package common

// SendSmsRequest 发送验证码接口
type SendSmsRequest struct {
	TenantCode    string `json:"tenant_code" binding:"required"`
	Mobile        string `json:"mobile" binding:"required"`
	Scene         int64  `json:"scene" binding:"required"`
	CaptchaID     string `json:"captcha_id,omitempty"`
	CaptchaAnswer string `json:"captcha_answer,omitempty"`
}

// SendSmsResponse 发送验证码的返回接口
type SendSmsResponse struct {
}

// GetCaptchaRequest 获取图形验证码的请求
type GetCaptchaRequest struct {
	TenantCode string `json:"tenant_code" binding:"required"`
}

// GetCaptchaResponse 获取图形验证码的返回值
type GetCaptchaResponse struct {
	CaptchaId    string `json:"captcha_id"`
	CaptchaImage string `json:"captcha_image"`
}
